<div class='fui-page  fui-page-current order-comment-page'>
  <div class="jy2-headertopbg">
			<div class="fui-header" style="background:none">
				<div class="fui-header-left">
					<a class="back" style="color:#fff" href="javascript:" ng-click="goback()"></a>
				</div>
				<div class="title bold" style="font-size:1rem;color:#fff">订单评价</div>
				<div class="fui-header-right" style="padding-right:0.5rem;color:#fff">
					
				</div>
			</div>
  </div>
  <div class='fui-content jy2-headertop' style="padding:0 0.5rem;margin-bottom:1rem">
	<div ng-show="!pagedata.goods_list || pagedata.goods_list.length == 0 " style="background:#fff;border-radius:0.5rem;padding:0.5rem 0;margin-top:0.5rem">
		<div class="content-empty" style="margin-bottom: 2rem;">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 2rem;"></i>
		  <br/>
		  <p style="color: #999;font-size: .75rem">评价已生效显示，不可修改评价！！</p>
		</div>
	</div>
	<div style="background:#fff;border-radius:0.5rem;padding:0.5rem 0;margin-top:0.5rem" ng-repeat="goods in pagedata.goods_list">
		<div class="fui-list-group goods-list-group" style="margin-top:0"> 
			<div class="fui-list-group-title"><i class="icon icon-dianpu"></i> {{goods.merch.merchname || '平台自营'}}</div>	
			<div class="fui-list goods-list" style="background:#fff">
				<a class="fui-list-media" href="javascript:" ng-click="access_json('jy_merchfuwu/goods.detail/getgoods/id='+goods.id)">
					<img ng-src="{{tomedia(goods.image) || '../core/resource/images/nopic.jpg'}}" class="round">
				</a>
				<a class="fui-list-inner" style="-webkit-justify-content:center;" href="javascript:" ng-click="access_json('jy_merchfuwu/goods.detail/getgoods/id='+pagedata.goods.id)">
					<div class="text goodstitle towline">{{goods.title}}</div>
					<div class='subtitle'>{{goods.subtitle || '无描述'}}</div>
					<div ng-show="pagedata.goods.optionid" class='subtitle'>{{goods.optiontitle || '无规格'}}</div>
				</a>
				<div class='fui-list-angle'>
					<p>￥<span class='marketprice'>{{goods.price}}<br/>x{{goods.total}}</span></p>						
				</div>
			</div>
		</div>
		<div class="fui-cell-group" style="margin-top:0">
		 <div class='fui-cell must'>
			 <div class='fui-cell-label'>描述相符</div>
			 <div class='fui-cell-info'>
				 <div class="fui-stars warning">
					 <span class="stars">
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.star>0,'icon-shoucang':goods.post.star<1}" ng-click="goods.post.star=1"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.star>1,'icon-shoucang':goods.post.star<2}" ng-click="goods.post.star=2"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.star>2,'icon-shoucang':goods.post.star<3}" ng-click="goods.post.star=3"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.star>3,'icon-shoucang':goods.post.star<4}" ng-click="goods.post.star=4"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.star>4,'icon-shoucang':goods.post.star<5}" ng-click="goods.post.star=5"></i>
					</span>
				 </div>
			 </div>
		 </div>
		 <div class='fui-cell must'>
			 <div class='fui-cell-label'>服务态度</div>
			 <div class='fui-cell-info'>
				 <div class="fui-stars warning">
					 <span class="stars">
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.fuwustar>0,'icon-shoucang':goods.post.fuwustar<1}" ng-click="goods.post.fuwustar=1"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.fuwustar>1,'icon-shoucang':goods.post.fuwustar<2}" ng-click="goods.post.fuwustar=2"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.fuwustar>2,'icon-shoucang':goods.post.fuwustar<3}" ng-click="goods.post.fuwustar=3"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.fuwustar>3,'icon-shoucang':goods.post.fuwustar<4}" ng-click="goods.post.fuwustar=4"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':goods.post.fuwustar>4,'icon-shoucang':goods.post.fuwustar<5}" ng-click="goods.post.fuwustar=5"></i>
					</span>
				 </div>
			 </div>
		 </div>
		<div class="fui-cell">
			<div class="fui-cell-info">
				<textarea rows="5" placeholder="请您对这次服务留下宝贵的意见！" ng-model="goods.post.content"></textarea>
			</div>
		</div>
		<div class="fui-cell">
			<div class="fui-cell-info">晒图</div>
		 </div>
		<div class="weui_cells weui_cells_form" style="margin-top:0">
						<div class="weui_cell" style="padding-top:0">
							<div class="weui_cell_bd weui_cell_primary">
								<div class="weui_uploader">
									<div class="weui_uploader_bd">
										<ul class="weui_uploader_files">
											<li ng-repeat="p in goods.post.images track by $index" class="weui_uploader_file" style="background-image:url({{tomedia(p)}})">
												<div class="upbtn" >
													<a style="color:#f60" href="javascript:;" ng-click="goods.post.images.splice($index-1,0,p);goods.post.images.splice($index+1,1)">上移</a>
													<a style="color:#f60" href="javascript:;" ng-click="goods.post.images.splice($index,1)">删除</a>
												</div>
											</li>
										</ul>
										<div class="weui_uploader_input_wrp" href="javascript:;" ng-click="images(goods.post,'images',true)">
										</div>
									</div>
								</div>
							</div>
						</div>
		</div>
	 </div>
	 <button class="weui_btn weui_btn_primary" style="margin: auto;margin-top:1rem;width:60%;" ng-click="post(goods.post,'submit','','message')">提交评价</button>
  </div>      
</div>
</div> 